<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="com.shengl.app.util.Translation" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>m_musicDetail</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="js/playmedia.js"></script>
  </head>
  
  <body>
  	<h2>${success }</h2>
	<DIV class=must_item>
		<P class=asform>歌名：　　 <c:out value="${music.songName }"/> </P>
		<P class=asform>音乐地址： <c:out value="${music.songPath }"/> </P>
	</DIV>
	<DIV id=playicon><A href="javascript:playmedia('playicon', 'player', '${music.songPath }', '355', '68')"><IMG alt=${music.songName } src="/shengl/images/wply.gif" align=absMiddle border=0> <B>Listen Now</B></A></DIV>
	<DIV id=player style="DISPLAY: none;margin-bottom:10px;"></DIV>
	<DIV class=need_item>
	<P class=asform>歌手：　　 <c:out value="${music.singerName }"/> </P>
	<P class=asform>语言：　　 <c:forEach items="<%=Translation.songLanguageList()%>" var="LabelValue">
							 <INPUT type=radio value=${LabelValue.value } name=songLanguage <c:if test="${music.songLanguage == LabelValue.value}">checked=checked</c:if>><c:out value="${LabelValue.label }"/>
							 </c:forEach></P>
	<P class=asform>歌词：　　 <TEXTAREA name=lyric rows=6 cols=55>${music.lyric }</TEXTAREA> </P>
	<P class=asform>标签：　　 <c:out value="${music.label }"/> </P>
	<P class=asform>推荐感言： <TEXTAREA name=note rows=6 cols=55>${music.note }</TEXTAREA> 
	<TABLE>
		<TBODY>
			<TR>
			<TD width=60>歌曲类型： </TD>
			<TD>
				<UL class=add_songcatlist>
					<c:forEach items="<%=Translation.songTypeList()%>" var="LabelValue">
			        <LI><INPUT type=checkbox value=${LabelValue.value } name=songType <c:forEach items="${Types }" var="type"><c:if test="${type == LabelValue.value}">checked=checked</c:if></c:forEach>>${LabelValue.label } </LI>
			        </c:forEach>
		        </UL>
	        </TD>
			</TR>
		</TBODY>
	</TABLE>
	</DIV>
    <h2><a href="m_musicList.html"><span>返回歌曲列表</span></a></h2>
  </body>
</html>
